<ion-view view-title="绑定邮箱" class="personal-info" hide-nav-bar="true"
    ng-form="infoEmailForm">
  <ion-header-bar align-title="center" class="bar-calm">
    <div class="buttons">
      <button class="button head-button button-clear center-btn" ng-click="goBack()">
        <img src="img/order-commit/backIcon.png">
      </button>
    </div>
    <h1 class="title">绑定邮箱</h1>
    <div class="buttons">
      <button class="button head-button button-clear center-btn" ng-click="doSave()">
        保存
      </button>
    </div>
  </ion-header-bar>
  <ion-content class="padding">

    <div style="position: relative;" class="input-box">
      <label class="item item-input name" style="margin-bottom: 0.5em;">
        <input type="text" name="email"
               ng-model="info.email"
               ng-required="true"
               placeholder="请输入密保邮箱">
      </label>
      <button ng-hide="!info.email" ng-click="clear('email')" class="wf-icon clean"></button>
    </div>

    <div class="bottom-blank"></div>
  </ion-content>
</ion-view>
